package com.ruoyi.crm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 拜访记录对象 crm_visit_records
 * 
 * @author ruoyi
 * @date 2022-02-02
 */
public class CrmVisitRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long visitRecordId;

    /** 拜访概要 */
    @Excel(name = "拜访概要")
    private String visitRecordName;

    /** 详细信息 */
    @Excel(name = "详细信息")
    private String visitRecordDesc;

    /** 联系人ids */
    @Excel(name = "联系人ids")
    private String visitRecordLinkmen;

    /** 业务人员ids */
    @Excel(name = "业务人员ids")
    private String visitRecordUsers;

    /** 拜访公司id */
    @Excel(name = "拜访公司id")
    private Long visitRecordCompanyId;

    /** 拜访时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "拜访时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date visitRecordDate;

    /** 拜访目标 */
    @Excel(name = "拜访目标")
    private Long visitObjectivesId;

    /** 联系人 */
    @Excel(name = "联系人")
    private String visitRecordLinkmenNames;

    /** 业务员 */
    @Excel(name = "业务员")
    private String visitRecordUserNames;

    /** 部门id */
    @Excel(name = "部门id")
    private Long visitRecordDeptId;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String visitRecordDeptName;

    /** 拜访公司 */
    @Excel(name = "拜访公司")
    private String visitRecordCompanyName;

    public void setVisitRecordId(Long visitRecordId) 
    {
        this.visitRecordId = visitRecordId;
    }

    public Long getVisitRecordId() 
    {
        return visitRecordId;
    }
    public void setVisitRecordName(String visitRecordName) 
    {
        this.visitRecordName = visitRecordName;
    }

    public String getVisitRecordName() 
    {
        return visitRecordName;
    }
    public void setVisitRecordDesc(String visitRecordDesc) 
    {
        this.visitRecordDesc = visitRecordDesc;
    }

    public String getVisitRecordDesc() 
    {
        return visitRecordDesc;
    }
    public void setVisitRecordLinkmen(String visitRecordLinkmen) 
    {
        this.visitRecordLinkmen = visitRecordLinkmen;
    }

    public String getVisitRecordLinkmen() 
    {
        return visitRecordLinkmen;
    }
    public void setVisitRecordUsers(String visitRecordUsers) 
    {
        this.visitRecordUsers = visitRecordUsers;
    }

    public String getVisitRecordUsers() 
    {
        return visitRecordUsers;
    }
    public void setVisitRecordCompanyId(Long visitRecordCompanyId) 
    {
        this.visitRecordCompanyId = visitRecordCompanyId;
    }

    public Long getVisitRecordCompanyId() 
    {
        return visitRecordCompanyId;
    }
    public void setVisitRecordDate(Date visitRecordDate) 
    {
        this.visitRecordDate = visitRecordDate;
    }

    public Date getVisitRecordDate() 
    {
        return visitRecordDate;
    }
    public void setVisitObjectivesId(Long visitObjectivesId) 
    {
        this.visitObjectivesId = visitObjectivesId;
    }

    public Long getVisitObjectivesId() 
    {
        return visitObjectivesId;
    }
    public void setVisitRecordLinkmenNames(String visitRecordLinkmenNames) 
    {
        this.visitRecordLinkmenNames = visitRecordLinkmenNames;
    }

    public String getVisitRecordLinkmenNames() 
    {
        return visitRecordLinkmenNames;
    }
    public void setVisitRecordUserNames(String visitRecordUserNames) 
    {
        this.visitRecordUserNames = visitRecordUserNames;
    }

    public String getVisitRecordUserNames() 
    {
        return visitRecordUserNames;
    }
    public void setVisitRecordDeptId(Long visitRecordDeptId) 
    {
        this.visitRecordDeptId = visitRecordDeptId;
    }

    public Long getVisitRecordDeptId() 
    {
        return visitRecordDeptId;
    }
    public void setVisitRecordDeptName(String visitRecordDeptName) 
    {
        this.visitRecordDeptName = visitRecordDeptName;
    }

    public String getVisitRecordDeptName() 
    {
        return visitRecordDeptName;
    }
    public void setVisitRecordCompanyName(String visitRecordCompanyName) 
    {
        this.visitRecordCompanyName = visitRecordCompanyName;
    }

    public String getVisitRecordCompanyName() 
    {
        return visitRecordCompanyName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("visitRecordId", getVisitRecordId())
            .append("visitRecordName", getVisitRecordName())
            .append("visitRecordDesc", getVisitRecordDesc())
            .append("visitRecordLinkmen", getVisitRecordLinkmen())
            .append("visitRecordUsers", getVisitRecordUsers())
            .append("visitRecordCompanyId", getVisitRecordCompanyId())
            .append("visitRecordDate", getVisitRecordDate())
            .append("visitObjectivesId", getVisitObjectivesId())
            .append("visitRecordLinkmenNames", getVisitRecordLinkmenNames())
            .append("visitRecordUserNames", getVisitRecordUserNames())
            .append("visitRecordDeptId", getVisitRecordDeptId())
            .append("visitRecordDeptName", getVisitRecordDeptName())
            .append("visitRecordCompanyName", getVisitRecordCompanyName())
            .toString();
    }
}
